// sp换算
@function px2Sp($size) {
  @return $size * 0.75;
}
.tobind {
  font-size: 10px;
  color: var(--base-color);
}
.wallet {
  // background-color: var(--base-bgColor);
  //   顶部钱包-余额-操作
  .myWallet {
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 24px;
    .myWallet-wrapper {
      width: 100%;
      padding: 20px;
      box-sizing: border-box;
      min-height: 174px;
      background: url("../../../../assets/images/image/xxhdpi/my_wallet_bg.png");
      background-size: 100% 100%;
      background-repeat: no-repeat;
      .myWallet-content {
        color: var(--white-base);
        .myWallet-tit {
          font-size: 18px;
        }
        .myWallet-price {
          margin-top: 40px;
          font-size: 48px;
        }
        .myWallet-withdraw {
          margin-top: 10px;
          display: flex;
          justify-content: space-between;
          font-size: 10px;
          button {
            width: 58px;
            height: 29px;
            background-color: var(--white-base);
            color: var(--primary-color);
            border: none;
            border-radius: 6px;
            font-size: 14px;
          }
        }
      }
    }
  }

  //   底部-消费记录
  .consumption {
    margin-top: 6px;
    background-color: var(--white-base);
    height: calc(100vh - 308px - 6px);
    overflow-y: scroll;
    .recordList {
      padding: 0 20px;
      box-sizing: border-box;
      ul {
        li {
          margin-top: 20px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .recordList-left {
            display: flex;
            flex-direction: column;
            b {
              font-size: px2Sp(14px);
              color: var(--base-color);
            }
            span {
              margin-top: 6px;
              font-size: px2Sp(10px);
              color: var(--gray-medium);
            }
          }
          .recordList-right {
            font-size: 14px;
          }
        }
      }
    }
  }
}
